Test apparatus and writing control circuit

ABSTRACT

A writing control circuit for writing command data supplied from a plurality of host computers onto any of a plurality of register sections, the writing control circuit includes a plurality of request signal storing sections, a host selecting section, and a writing section. The plurality of request signal storing sections correspond to the plurality of host computers and store writing request signals supplied from the corresponding host computers. The host selecting section sequentially selects the request signal storing sections, and receives and outputs data being stored by the selected request signal storing sections. The writing section receives the stored data output by the host selecting section, the command data, and register section specifying data.

The present application claims priority from a Japanese patentapplication No. 2003-322093 filed on Sep. 12, 2003, the contents ofwhich are incorporated herein by reference.

FIELD OF THE INVENTION

The present invention relates to a test apparatus for testing electronicdevices and a writing control circuit used for the test apparatus.

BACKGROUND ART

In a test apparatus for testing electronic devices such as asemiconductor circuit or a like, conventionally, testing is done byapplying a specified pattern signal to electronic device to be tested.The test apparatus includes: a test module to input a predetermined testpattern, testing rate, or a like to electronic device to be tested; anda timing control module to control timing at which the test moduleinputs a test pattern or the like to the electronic device to be tested.

A plurality of test modules are included in the test apparatus dependingon the number of pins of the electronic device to be tested and aplurality of timing control modules are also provided which includes amodule to provide timing at which testing is started, a module toprovide timing at which a test pattern is to be input, or a like.Conventionally, the timing control module has a variety ofconfigurations depending on its function to be performed.

Since no patent document with relation to the present invention has notbeen identified at present, the description about the related documentswill be omitted.

DISCLOSURE OF THE INVENTION Problem to be Solved by the Invention

As described above, since the timing control module is configured so asto correspond to each function and it is conventionally, it is necessaryto manufacture the timing control modules of various types, thus causingan increase in manufacturing costs. As a result, each of the timingcontrol modules lacks versatility which decreases efficiency in testingelectronic devices. To solve such the problem, it is expected that eachof the modules has a configuration that enables all functions to berealized in a manner in which an operation to perform each function canbe switched. This allows electronic devices to be tested by using onlythe same module.

However, various functions to be performed by a test apparatus areneeded in order to test electronic devices and many pins of a module arerequired to realize each of the functions and, if all the functions areto be performed by using only one module, the required number of pins ofthe module becomes enormous, which is impractical. To solve thisproblem, there is an idea that all functions are realized by using theplurality of test modules each having the same configuration. However,to do this, a problem occurs that all the modules have to besynchronized for operations.

Another problem is that, since each of test modules fabricated bydifferent manufacturers has, in some cases, a different characteristicof time required between inputting and outputting of a signal or a like,simultaneous use of these test modules is difficult. Moreover, there aresome cases in which the timing control module receives fail data or thelike from a plurality of test modules and distributes a plurality ofpieces of data obtained by logically computing the plurality of piecesof data and by compiling resulting data among a plurality of testmodules. In such the case, each of the compiling processes and each ofdistributing processes have to be performed in synchronization with oneanother. Thus, when the test apparatus does testing of electronicdevices by using a plurality of signal sources 30 and a plurality oftest modules 14, it is necessary that these supplying sections 30 andtest modules 14 receive and transmit signals in synchronization with oneanother.

In addition, in order to perform each of the compiling and distributingprocesses from a plurality of host computers, many registers are needed,as a result, also causing an increase in a circuit scale and inmanufacturing costs. Therefore, the number of the registers has to bereduced. Furthermore, to perform such the compiling and distributingprocesses, many signal lines are required, however, when many signallines are formed on a semiconductor substrate, consideration has to begiven to arrangements of circuits on the substrate.

Means to Solve the Problem

To solve the foregoing problems, according to a first aspect of thepresent invention, there is provided a writing control circuit forwriting a plurality of pieces of command data supplied from a pluralityof host computers onto a plurality of register sections including: aplurality of request signal storing sections provided in a manner tocorrespond to the plurality of host computers and to store writingrequest signals from the plurality of host computers; a host selectingsection to sequentially select the plurality of request signal storingsections and to receive and output store data being stored on theselected request signal storing sections; and a writing section toreceive the stored data output from the host selecting section, commanddata to be written onto the plurality of register sections and registersection specifying data used to specify the plurality of registersections onto which the command data is to be written, and to writecommand data onto the plurality of register sections specified by theregister section specifying data when the stored data having beenreceived is the writing request signal.

The host selecting section may receive the command data to be written ina manner to correspond to the writing request signal and registersection specifying data to specify the register sections onto which thecommand data is to be written and supplies the command data receivedfrom the plurality of host computers corresponding to the plurality ofrequest signal storing sections and the register section specifying datato the writing section.

The writing control circuit may further include: a resetting section toreset the writing request signal being stored on the plurality ofrequest signal storing sections selected by the host selecting sectionwhen the stored data having been received from the host selectingsection is the writing request signal.

The writing control circuit may further include: a counter section tosequentially generate a plurality of host specifying signals indicatingthe plurality of request signal storing sections and to supply thegenerated signals to the host selecting section, wherein the hostspecifying section sequentially selects the plurality of request signalstoring sections to be specified by the host specifying signals beingreceived in order.

The resetting section may receive the plurality of pieces of stored databeing stored on the plurality of request signal storing sections and thehost specifying signals generated by the counter section and to resetthe writing request signals being stored on the request signal storingsections and being specified by the host specifying signals when thestored data being stored on the plurality of request signal storingsections are the writing request signals.

The counter section may sequentially generate binary numbers from zeroup to a number being twice as large as the number of the plurality ofrequest signal storing sections and supplies data obtained by removingthe least significant signal from the generated binary numbers, as thehost specifying signal, to the host specifying section and the resettingsection. The writing control circuit may further include an AND circuitwhich supplies the stored data output from the host selecting section tothe writing section when the least significant signal generated by thecounter section is logically high. The resetting section may reset thewriting request signal being stored on the plurality of request signalstoring section to be specified by the host specifying signal when thestored data having been received by the host selecting section is thewriting request signal and the least significant signal of the hostspecifying signal is logically high.

According to a second aspect of the present invention, there is provideda test apparatus for testing electronic devices including: a referenceclock generating section to generate a reference clock; a plurality oftest modules to apply test pattern signals to be used for testing theelectronic devices to the electronic devices according to predeterminedclocks; a plurality of distributing circuits to generate timing signalseach having a different phase according to the reference clock and todistribute the generated timing signals to one of or among the pluralitythe test modules; a plurality of register sections provided in a mannerto correspond to the plurality of distributing circuits and to storecommand data indicating one of or the plurality of test modules amongwhich the corresponding distributing circuits are to distribute thetiming signals; and a writing control circuit to write each of theplurality of pieces of command data supplied from a plurality of hostcomputers onto any of the plurality of register sections, wherein thewriting control circuit includes: a plurality of request signal storingsections provided in a manner to correspond to the plurality of hostcomputers and to store writing request signals supplied from thecorresponding host computers; a host selecting section to sequentiallyselect the plurality of request signal storing sections and to receiveand output data being stored on the selected request signal storingsections; and a writing section to receive the stored data output by thehost selecting section, command data to be written onto the plurality ofregister sections, and register section specifying data to specify theregister sections onto which the command data is to be written and towrite the command data onto the register sections to be specified by theregister section specifying data when the stored data having beenreceived is the writing request signal.

The host selecting section may receive the command data to be writtenaccording to the writing request signal from each of the plurality ofhost computers and to supply the command data having been received fromthe plurality of host computers corresponding to the selected requestsignal storing section to the writing section.

The writing control circuit may further includes a resetting section toreset the writing request signal being stored on the request signalstoring section selected by the host selecting section when the storeddata received by the host selecting section is the writing requestsignal.

The summary of the invention does not necessarily describe all essentialfeatures so that the invention may also be a sub-combination of thesedescribed features.

EFFECT OF THE INVENTION

According to the present invention, since there is no need of having aregister for every plural host computers, the number of registers in thetest apparatus can be reduced. Moreover, data can be efficiently writtenon the register.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows an example of configurations of the test apparatus 100according to an embodiment of the present invention.

FIG. 2 shows an example of configurations of the switch matrix 20according to the embodiment of the present invention.

FIG. 3 shows an example of configurations of the signal source 30 andthe clock controlling circuit 70 according to the embodiment of thepresent invention.

FIG. 4 shows an example of configurations of the loop circuit 110according to the embodiment of the present invention.

FIG. 5 shows an example of configurations of the reference clockdistributing circuit 80 according to the embodiment of the presentinvention.

FIG. 6 is a flowchart showing one example of methods for adjustingtiming at which a plurality of signal sources 30 outputs a timing signaldescribed with reference to FIG. 3 to FIG. 5.

FIGS. 7A–7B are diagrams showing a relation between a timing signal anda reference clock, in which FIG. 7A shows one example of cases where anamount of delay created by the reference clock variable delay circuit 36is not adjusted, and FIG. 7B shows one example of cases where an amountof delay created by the reference clock delay circuit 36 is adjusted.

FIG. 8 shows an example of configurations of the phase adjusting circuit50.

FIG. 9 shows an example of configurations of the generating circuit 48and timing signal distributing circuit 56.

FIG. 10 shows an example of configurations of the compiling circuit 46,timing signal distributing circuit 56.

FIGS. 11A–11C show examples of arrangements on a semiconductor substrate(not shown) in the plurality of compiling sections 160 and of thedistributing sections 140, in which FIGS. 11A–11C are drawings showingexamples of arrangements of each of the compiling sections 160 and eachof the distributing sections 140.

FIG. 12 shows an example of configurations of a plurality of flip-flopsections (186-1 to 186-7, hereinafter collectively referred to asflip-flops 186) and a plurality of selecting sections (188-1 to 188-7,hereinafter collectively referred to as flip-flops 188).

FIG. 13 shows an example of configurations of a writing controllingcircuit to control a plurality of register sections 146 in thecontrolling section 12.

DENOTATION OF REFERENCE NUMERALS

10 . . . reference clock generating section, 12 . . . controllingsection, 14 . . . test module, 16 . . . device contacting section, 20 .. . switch matrix, 30 . . . signal source, 32 . . . counter section, 34. . . feedback system variable delay circuit, 36 . . . reference clockvariable delay circuit, 38 . . . flip-flop, 40 . . . feedback systemcircuit, 42 . . . plurality of flip-flops, 44 . . . feedback signalselecting section, 46 . . . compiling circuit, 48 . . . generatingcircuit, 50 . . . phase adjusting circuit, 52 . . . plurality offlip-flops, 54 . . . clock selecting section, 56 . . . timing signaldistributing circuit, 60 . . . timing supplying section, 62 . . .plurality of flip-flops, 64 . . . timing signal selecting section, 66 .. . synchronizing circuit, 70 . . . clock controlling circuit, 72 . . .flip-flop, 74 . . . selecting section, 76 . . . counter, 78 . . . logiccircuit, 80 . . . reference clock distributing circuit, 82 . . .distributor, 84 . . . AND circuit, 86 . . . OR circuit, 88 . . .distributor, 90 . . . outputting section, 100 . . . test apparatus, 110. . . loop circuit, 112 . . . reference clock selecting section, 114 . .. reference clock selecting section, 116 . . . R circuit, 117 . . . ANDcircuit, 118 . . . distributor, 119 . . . flip-flop, 120 . . . bus, 122. . . flip-flop, 124 . . . distributing circuit, 126 . . . flip-flop,130 . . . computing circuit, 132 . . . flip-flop, 134 . . . OR circuit,136 . . . flip-flop, 140 . . . distributing section, 142 . . .flip-flop, 144 . . . distributor, 146 . . . register section, 148 . . .AND circuit, 150 . . . OR circuit, 152 . . . flip-flop, 160 . . .compiling section, 162 . . . register section, 164 . . . AND circuit,166 . . . OR circuit, 168 . . . shift register section, 172 . . .flip-flop, 174 . . . flip-flop, 178 . . . flip-flop, 180 . . .flip-flop, 186 . . . flip-flop section, 188 . . . selecting section, 190. . . AND circuit, 200 . . . electronic device, 202 . . . selector, 204. . . writing section, 206 . . . flip-flop, 208 flip-flop, 210 . . . ANDcircuit, 212 . . . request signal storing section, 214 . . . hostselecting section, 216 . . . AND circuit, 218 . . . flip-flop, 220 . . .flip-flop, 222 . . . counter, 224 . . . selector, 226 . . . AND circuit,230 . . . first distributing point, 232 . . . second distributing point,234 . . . reference clock passing path, 236 . . . phase adjustingvariable delay circuit, 250 . . . OR circuit, 258 . . . main/subselecting section.

DETAILED DESCRIPTION OF THE INVENTION

The invention will now be described based on preferred embodiments,which do not intend to limit the scope of the present invention, butrather to exemplify the invention. All of the features and thecombinations thereof described in the embodiments are not necessarilyessential to the invention.

FIG. 1 shows an example of configurations of the test apparatus 100according to an embodiment of the present invention. The test apparatus100 tests a plurality of electronic devices (200-1 to 200-n, hereinaftercollectively referred to as electronic devices 200). The test apparatus100 includes a reference clock generating section 10, a controllingsection 12, a plurality of test modules (14-1 to 14-48, hereinaftercollectively referred to as test modules 14), a device contactingsection 16, and a switch matrix 20.

The device contacting section 16 is a test head having, for example, aplurality of electronic devices 200 and electrically connects aplurality of test modules 14 to a plurality of electronic devices 200.Each of the test modules 14 is electrically connected to one of or aplurality of electronic device(s) 200. Also, each of the electronicdevices 200 is electrically connected to one of or a plurality of testmodule(s) 14. For example, each of the test modules 14 and electronicdevices 200 has a predetermined number of input and output pins and eachof the test modules 14 is connected to each of electronic devices 200depending on the number of pins of each of the electronic devices 200and each of the test modules 14.

Moreover, each of the test modules 14 may be a module that supplies apredetermined test pattern to corresponding one of the electronicdevices 200. In this embodiment, each of the test modules 14 is providedwith a test pattern from the controlling section 12 in advance, andsupplies the test pattern signal to the electronic devices 200 withtiming at which a timing signal is supplied from the switch matrix 20.Each of the test modules 14 may judge whether or not each of theelectronic devices 200 is acceptable according to a signal output fromeach of the electronic devices 200. In this case, each of the testmodules 14 may have fail memory that stores fail data on the electronicdevices 200 or the fail data may be supplied to the controlling section12.

Moreover, when fail data have returned from the electronic devices 200to either of the plurality of test modules 14, the test module 14 maysupply the fail data to the switch matrix 20 in order to distribute thefail data to the other plural test modules 14. In this case, the switchmatrix 20 distributes the fail data to one or more desired testmodule(s) 14.

The reference clock generating section 10 generates a reference clockhaving a predetermined frequency. Each component of the test apparatus100 operates according to the reference clock. The switch matrix 20generates a plurality of timing signals each having a different phaseaccording to a reference clock and supplies a timing signal tocorresponding one of the test modules 14. That is, the switch matrix 20controls timing at which each of the test modules 14 operates bysupplying a timing signal to each of the test modules 14.

The controlling section 12 exercises control as to which timing signalwith what phase is to be supplied from the switch matrix 20 to each ofthe test modules 14. Moreover, the controlling section 12 applies, inadvance, a test pattern signal to each of the test modules 14.Alternatively, the controlling section 12 may be a host computer such asa workstation or a like. Furthermore, the controlling section 12 mayhave a plurality of host computers. In this case, electronic devices 200to be tested are allotted to each of the plurality of host computers andeach host computer controls a phase of a timing signal to be supplied tothe test modules 14 connected to the allotted electronic devices 200 andto corresponding one of the test modules 14.

FIG. 2 shows an example of configurations of the switch matrix 20. Theswitch matrix 20 has a plurality of test boards (22-1 and 22-2,hereinafter collectively referred to as test boards 22). Each of thetest boards 22 includes a reference clock distributing circuit 80, aclock controlling circuit 70, a plurality of signal sources (30-1 to30-16, hereinafter collectively referred to as signal sources 30), aplurality of outputting sections 90, and a loop circuit 110.Configurations and operations of the loop circuit 110 and the clockcontrolling circuit 70 will be described later with reference to FIG. 3.

The reference clock distributing circuit 80 receives a reference clockgenerated by the reference clock generating section 10 and distributesthe received reference clock among components in the switch matrix 20.Each of the signal sources 30 outputs an output signal to testelectronic devices 200 to be tested according to the reference clock tobe input as an input signal. For example, each of the signal sources 30supplies a timing signal indicating timing at which a test patternsignal is applied to electronic devices 200, a timing signal indicatingtiming at which testing of the electronic devices 200 is started, atiming signal indicating timing at which the testing of the electronicdevices 200 is stopped, a timing signal indicating timing at which faildata on electronic devices 200 is captured, or the like to the testmodules 14 via each of the outputting sections 90.

In the embodiment, each of the signal sources 30 generates a pluralityof timing signals, each having a different phase, as the output signaldescribed above according to a reference clock to be input. Then, thecontrolling section 12 makes each of the signal sources 30 determinewhich timing signal, out of the plurality of timing signals generated bythe signal sources 30, is to be supplied to each of the test modules 14.This enables control, for example, on timing at which each of the testmodules 14 applies a test pattern signal to electronic devices 200.Moreover, each of the signal sources 30 outputs a reference clock usedfor generation of the timing signal in synchronization with a timingsignal.

Functions of the plurality of signal sources 30 are respectivelypredetermined; that is, a function for controlling timing at which atest pattern signal is applied to electronic devices 200, a function forcontrolling timing at which testing of electronic devices 200 isstarted, a function for controlling timing at which testing ofelectronic devices 200 is stopped, a function for controlling timing atwhich fail data on electronic devices 200 is captured, and the like.Moreover, each of the signal sources 30 is an integrated circuit havingthe same configuration and having a circuit structure that enables allthe functions described above to be performed by switching an operationmode. The operation mode is controlled by a signal level supplied to thetest board 22. Thus, by constructing each of the signal sources 30 so asto have the same circuit configuration, versatility of the signalsources 30 can be improved.

Furthermore, when one of the signal sources 30 is to have the circuitconfiguration so as to perform all the functions described above, it maylack pins to be used for inputting or outputting of signals in somecases. In such the cases, the problem of lacking in the pins forinputting or outputting of signals can be solved by combining aplurality of signal sources 30. For example, the test apparatus 100, asshown in FIG. 2, is operated by combining the signal source 30-1 withthe signal source 30-2. In the embodiment, the controlling section 12allots any of the functions described above to each of the signalsources 30 operating in combination.

A plurality of outputting sections 90 is provided in a manner tocorrespond to a plurality of test modules 14 and receives timing signalsfrom any one of the plurality of signal sources 30 and supplies thereceived timing signals to corresponding one of the test modules 14. Asupply of the timing signal from which one of the signal sources 30 toeach of the outputting sections 90 is controlled by the controllingsection 12 according to a function of each of the test modules 14 andeach of the signal sources 30.

As for the test apparatus 100, since it does testing of electronicdevices 200 by using a plurality of signal sources 30, it is preferablethat the plurality of test modules 14 receives and transmits signals insynchronization among the pluralities of signal sources 30 and of thetest modules 14. The test apparatus 100 of the embodiment makesfollowing adjustments:

-   (1) adjustments of timing at which the plurality of signal sources    30 outputs a timing signal;-   (2) adjustments of a phase of a timing signal according to a    characteristic of each of the test modules 14; and-   (3) adjustments of a phase of a reference clock to be applied to    each of the signal sources 30 when the plurality of signal sources    30 is used in combination with one another.

First, the adjustments of timing at which a plurality of signal sources30 outputs timing signals will be described by referring to FIG. 3 toFIG. 6.

FIG. 3 shows an example of configurations of the signal source 30 andthe clock controlling circuit 70 according to the embodiment of thepresent invention.

Each of the signal sources 30 includes a timing signal distributingcircuit 56, a compiling circuit 46, a generating circuit 48, a pluralityof feedback system circuits 40, a plurality of timing supplying sections60, a phase adjusting circuit 50, a reference clock variable delaycircuit 36, a flip-flop 38, a counter section 32, and a reference clockpassing path 234. Moreover, the clock controlling circuit 70 includes aflip-flop 72, a selecting section 74, a counter 76, and a logic circuit78.

The reference clock passing path 234 receives a reference clock throughthe reference clock distributing circuit 80 from the reference clockgenerating section 10 and outputs the received reference clock to theloop circuit 110. The reference clock passing path 234 has a pluralityof distribution points used to distribute the received reference clockamong blocks of the signal sources 30 and the flip-flops provided ineach of the signal sources 30 or the like operate according to thereference clock.

The reference clock variable delay circuit 36 is provided in thereference clock passing path 234 and delays a reference clock. It ispreferable that the reference clock variable delay circuit 36 isprovided upstream from the plurality of distribution points in thereference clock passing path 234. The reference clock having passedthrough the reference clock passing path 234 is input to the loopcircuit 110.

The loop circuit 110 makes a reference clock output from each of thesignal sources 30 loop, and inputs the reference clock as an inputsignal to each of the signal sources that has output the reference clockthrough the reference clock distributing circuit 80. It is preferablethat the loop circuit 110 makes a reference clock selected loop in turnthrough substantially the same path and inputs the reference clock tothe signal sources 30. The test apparatus 100 detects variations intiming at which each of the signal sources 30 outputs a timing signal bymeasuring a period of looping of a reference clock. By the adjustment oftiming at which each of the signal sources 30 outputs a timing signal,even if timing signals are supplied from the plurality of signal sources30 to the plurality of test modules 14, the plurality of test modules 14can be operated in synchronization with one another.

FIG. 4 shows an example of configurations of the loop circuit 110. Theloop circuit 110 includes a plurality of reference clock selectingsections (112-1 to 112-4, 114-1 to 114-2), an OR circuit 116, an ANDcircuit 117, a flip-flop 119, and a distributor 118. The loop circuit110 receives a reference clock output from a plurality of signal sources30 and selects the received reference clocks in turn and makes theselected reference clock loop.

In the embodiment, the plurality of reference clock selecting sections(112-1 to 112-4, 114-1 to 114-2) and the OR circuit 116 sequentiallyselect one of the plurality of reference clocks. The AND circuit 117outputs a logical product of the selected reference clock and the signaloutput from the flip-flop 119 to the distributor 118. The flip-flop 119exercises control as to whether the reference clock is made to loop. Theflip-flop 119 is provided with a signal to decide whether a referenceclock is made to loop by the controlling section 12 and outputs thesignal, according to a reversed signal of the reference clock suppliedfrom the distributor 118. The distributor 118 makes a reference clockoutput from the AND circuit 117 loop through the reference clockdistributing circuit 80. The loop circuit 110 makes each reference clockselected loop in turn via the same path through the reference clockdistributing circuit 80. This reduces an error in measuring a loopingperiod in each of the signal sources 30.

FIG. 5 shows an example of configurations of the reference clockdistributing circuit 80 according to the embodiment of the presentinvention. The reference clock distributing circuit 80 includes adistributor 82, an AND circuit 84, an OR circuit 86, and a distributor88. The distributor 82 receives a reference clock from the referenceclock generating section 10 and distributes a reference clock amongcomponents that are to operate according to the reference clock. The ANDcircuit 84 receives a reference clock from the distributor 82 andoutputs a logical product of a signal supplied from the clockcontrolling circuit 70 described later and the reference clock.

That is, the AND circuit 84 selects whether the passage of the referenceclock is allowed or not based on the signal supplied from the clockcontrol circuit 70.

The OR circuit 86 outputs a logical sum of a reference clock suppliedfrom the AND circuit 84 and a reference clock made to loop by the loopcircuit 110. When the period of the looping is measured, the clockcontrolling circuit 70 inputs a logical L to the AND circuit 84 andexercises control so as not to permit the reference clock supplied fromthe reference clock generating section 10 to pass. When the period ofthe looping is not measured, the clock controlling circuit 70 inputs alogical H to the AND circuit 84. The distributor 88 supplies a referenceclock output from the OR circuit to the plurality of signal sources 30.When the period of the looping is measured, the distributor 88 suppliesthe received reference clock to the signal source 30 which is measuringthe period of the looping.

It is also preferable that the loop circuit 110 makes a reference clocksupplied from one of the signal sources 30 loop successively. That is,each reference clock is preferably made to loop plural times within apredetermined period of time. The counter section 32 (see FIG. 3) countshow many times a reference clock loops within a predetermined period oftime and, based on a result from the counting, the loop circuit 110sequentially measures a period of the looping in the signal sources 30corresponding to the reference clock made to loop in turn.

For example, the counter section 32 receives a reference clock from thedistributor 82, while counting pulses of the reference clockpredetermined number of times, counts how many times the loop circuit110 has made the reference clock loop. At this time point, the referenceclock made to loop by the loop circuit 110 is input to the countersection 32.

Based on the counting results, the counter section 32 then measures aperiod between inputting of an input signal (reference clock) andinputting of a loop signal (reference clock) in each of the signalsources 30. By making a reference clock loop several times, the periodof the looping in each of the signal sources 30 can be measured moreaccurately. For example, it is preferable that the loop circuit 110makes the reference clock loop about 4000 times.

Based on the period in each of the signal sources 30 measured by thecounter section 32, the controlling section 12 controls delay to becreated by the reference clock variable delay circuit 36 provided ineach of the signal sources 30 and makes the period in each of the signalsources 30 be substantially the same. By controlling as above, adeviation in outputting timing of a timing signal caused by variationsamong the plurality of signal sources 30 can be reduced.

Moreover, the generation circuit 48 of the signal source 30 receives atiming signal output from the phase adjusting circuit 50, and generatesa plurality of timing signals, each having a different phase, based onthe received timing signal. In this embodiment, the generating circuit48 generates a plurality of timing signals each having a different phaseat phase solution being equal to that of a period of a reference clock.

The timing signal distributing circuit 56 selects any one of a pluralityof timing signals generated by the generating circuit 48 for each of thetiming supplying sections 60 and supplies the signal to each of thetiming supplying sections 60. The plurality of timing supplying sections60 is provided in a manner to correspond to one outputting section 90for every two timing supplying sections 60 and supplies a timing signalto the corresponding outputting section 90. Each of the timing supplyingsections 60 has a synchronizing circuit 66 to which a reference clock isdistributed from a second distributing point 232 connected at the mostdownstream in the reference clock passing path 234 and which outputs, insynchronization with the distributed reference clock, a timing signalselected by the timing signal distributing circuit 56 to the testmodules 14.

The loop circuit 110 receives a reference clock having passed throughthe second distributing point 232 and makes the received reference clockloop. By control on an amount of delay to be created by the referenceclock variable delay circuit 36 exercised by the controlling section 12,timing at which a reference clock is distributed into the synchronizingcircuit 66 in each of the plurality of signal sources 30 is madesubstantially the same. As a result, the plurality of signal sources 30can output a timing signal with substantially the same timing.

Moreover, it is preferable that, in the reference clock passing path234, the second distributing point 232 is placed the most downstreamfrom the plurality of distributing points. Each of the signal sources 30formed on a semiconductor substrate preferably outputs a reference clockfrom a vicinity of the second distributing point 232 to the loop circuit110. By measuring a period of the looping of a reference clock with apath from the second distributing point 232 to an outputting point of areference clock being shortened, a deviation in a phase between thereference clock received by the loop circuit 110 and the timing signaloutput by each of the signal sources 30 can be reduced. As a result, adeviation in timing at which each of the signal sources 30 outputs atiming signal can be more reduced.

Moreover, the test apparatus 100 can apply a test pattern signal to oneof electronic devices 200 from a plurality of test modules 14 and thecontrolling section 12 may control an amount of delay to be created byeach of the reference clock variable delay circuits 36 so that a periodin each of the signal sources 30 which supplies a timing signal to aplurality of test modules 14 to apply a test pattern signal to one ofelectronic devices 200 is made substantially the same.

FIG. 6 is a flowchart showing one example of methods for adjustingtiming at which a plurality of signal sources 30 outputs a timing signaldescribed with reference to FIG. 3 to FIG. 5. First, in S1000, the loopcircuit 110 selects any one of a plurality of reference clocks output bya plurality of signal sources 30. Next, in S1002, the reference clockselected by the loop circuit 110 is made to loop and the looped signalis input to the signal sources 30 that has output the reference clock.

Then, in S1004, the counter section 32 judges whether or not apredetermined period of time has elapsed and, if the predeterminedperiod of time has not elapsed yet, the looping of the reference clockis continued. When the predetermined period of time has elapsed, inS1006, a period of the looping in corresponding one of the signalsources 30 is calculated based on the number of times of the looping ofa reference clock. Next, in S1008, whether or not all reference clocksto be output from the plurality of signal sources 30 have been selectedand, if all the reference clocks have not been selected, a subsequentreference clock is selected (in S1000) and processing in S1002 to S1006is repeated.

In a case where all the reference clocks are selected and a period inall signal sources 30 is calculated, in S1010, an amount of delaycreated by the reference clock variable delay circuit 36 in each of thesignal sources 30 is adjusted to make timing at which each of the signalsources 30 outputs a timing signal be substantially the same and theadjustment is now terminated.

Next, adjustments of a phase of a timing signal according to acharacteristic of each of the test modules 14 are described withreference to FIG. 3 and FIG. 7. As described above, a plurality oftiming supplying sections 60 in the signal sources 30 is provided in amanner to correspond to a plurality of test modules 14. However, in eachof the test modules 14, a period of time between receipt of a timingsignal and outputting of a test pattern is not always the same. Forexample, variations occur in the period of time depending on thecharacteristic of each of the test modules 14. Therefore there are somecases where, a test pattern signal or a like is not simultaneously inputinto electronic devices 200 even if timing signals are simultaneouslyinput into a plurality of test modules 14. In order to compensate forthe variations, the test apparatus 100 of the embodiment adjusts a phaseof a timing signal to be output by each of the signal sources 30.

As shown in FIG. 3, each of the timing supplying sections 60 has aplurality of flip-flops 62 being cascaded, a timing signal selectingsection 64, and the synchronizing circuit 66. Moreover, each of thetiming supplying sections 60 is provided in a manner to correspond to aplurality of test modules 14 and receives a timing signal from thetiming signal distributing circuit 56 and supplies a timing signal tothe corresponding test modules 14.

The generating circuit 48 generates timing signals each having only onefalling edge or only one rising edge for a predetermined period of timeand supplies the timing signals to the timing signal distributingcircuit 56. It is preferable that the predetermined period of time islonger than a period of the reference clock. The plurality of flip-flops62 receives the timing signals from the timing distributing circuit 56and passes the timing signals sequentially to the next-stage flip-flops62 according to a reference clock distributed from the reference clockpassing path 234. That is, each of the plurality of flip-flops 62 passesa value of each of the timing signals to a next-stage one of theflip-flops 62 according to the reference clock.

The timing signal selecting section 64 adjusts a phase of the timingsignal to be supplied to each of the test modules 14 by receiving timingsignals output from each of the plurality of flip-flops 62, by selectinganyone of the plurality of timing signals received and by supplying thetiming signal to each of the test modules 14.

The controlling circuit 12 adjusts a phase of each of the timing signalsto be supplied by the plurality of timing supplying circuits 60 to eachof the test modules 14. In the embodiment, the controlling section 12exercises control as to which timing signal out of the plurality oftiming signals is to be selected by the timing signal selecting section64 so that the timing at which each of the test modules 14 outputs atest pattern signal according to the timing signal is made substantiallythe same. It is preferable that the test apparatus 100 is provided witha means for detecting timing at which the test modules 14 output thetest pattern signals.

In the embodiment, timing at which the test modules 14 output testpatterns is detected by the plurality of feedback system circuits 40.The plurality of feedback system circuits 40 is provided in a manner tocorrespond to the plurality of test modules 14 as in the case of theplurality of timing supplying sections 60 and the test modules 14 inputa signal whose value changes with timing at which the test pattern isoutput to corresponding one of the feedback system circuits 40. Each ofthe feedback system circuits 40 has a plurality of flip-flops 42 beingcascaded. Each of the plurality of flip-flops 42 passes, in turn,signals input from each of the test modules 14, according to a referenceclock, to a next-stage one of the flip-flops 42.

The controlling section 12 reads out a value stored on the plurality offlip-flops 42 and detects timing at which each of the test modules 14outputs a test pattern signal according to which stage flip-flop changesthe value. Moreover, the controlling section 12 may be provided, inadvance, with a phase of a timing signal to be supplied to each of thetest modules 14 depending on specifications of each of the test modules14.

FIGS. 7A–7C are diagrams showing a relation between a timing signal anda reference clock. FIG. 7A shows one example of cases where an amount ofdelay created by the reference clock variable delay circuit 36 is notadjusted and FIG. 7B shows one example of cases where an amount of delaycreated by the reference clock delay circuit 36 is adjusted.

In a case where an amount of delay created by the reference clockvariable delay circuit 36 is not adjusted, when any one of theflip-flops 62 captures a value of a timing signal according to areference clock, as shown in FIG. 7A, there occur some cases where thevalue of the timing signal is captured with timing at which the value ofthe timing signal changes. In such the case, each of the flip-flops 62fails to capture a value of the timing signal in a stable manner.

Therefore, the controlling section 12 of the embodiment adjusts anamount of delay created by the reference clock variable delay circuit 36as described above and shifts the timing at which any one of theflip-flops 62 captures a value of the timing signal from the timing atwhich a value of the timing signal changes, as shown in FIG. 7B.

Moreover, each of the feedback system circuits 40 receives, fromcorresponding one of the plurality of test modules 14, a signal such asa fail timing signal indicating a time at which a fail occurred in apattern output from electronic devices 200 and supplies the fail timingsignal to the timing supplying sections 60. At this time point, in somecases, a shift may occur in a phase of a fail timing signal in each ofthe feedback system circuits 40 due to a characteristic of each of thetest modules 14. That is, in some cases, time between generation of failtiming signals by each of the test modules 14 and supply of thegenerated fail timing signals to the feedback system circuits 40 maydiffer depending on the test modules 14.

There are some cases where the test apparatus 100 controls operations ofthe plurality of test modules 14 according to a signal to be suppliedfrom the test modules 14 to the signal sources 30, for example, in sucha case where, when a fail is detected in any one of the test modules 14,application of a test pattern signal in the plurality of test modules 14is stopped. In the case of such the control to be exercised, synchronouscontrol on the plurality of test modules 14 is difficult if time betweenthe generation of, for example, a fail timing signal by each of the testmodules 14 and the supply of the fail timing signals to each of thefeedback system circuits 40 differs depending on the test modules 14.The controlling section 12 controls a plurality of feedback systemcircuits 40 so that timing at which each of the feedback system circuits40 outputs fail timing signals is made substantially the same andcompensates for the deviation described above.

In the embodiment, each of the feedback system circuits 40 has aplurality of flip-flops 42 being cascaded, a feedback system variabledelay circuit 34, and a feedback signal selecting section 44. Each ofthe plurality of flip-flops 42 receives fail timing signals and,according to a reference clock to be distributed from the referenceclock passing path 234, sequentially passes the fail timing signals to anext-stage one of the flip-flops 42.

The feedback signal selecting section 44 receives a plurality of failtiming signals output from each of the plurality of flip-flops 42 andselects one out of the plurality of fail timing signals received. Then,by supplying the selected fail timing signal to the timing supplyingcircuit 60 through the compiling circuit 46 and the timing signaldistributing circuit 56, timing, at which the fail timing signal issupplied to the timing supplying section 60, is adjusted.

The controlling section 12 controls a phase of a fail timing signal tobe supplied by the plurality of feedback system circuits 40 to each ofthe timing supplying sections 60. In the embodiment, the controllingsection 12 exercises control as to which one out of the plurality offail timing signals is to be selected. In the embodiment, thecontrolling section 12 reads out a value stored on a plurality offlip-flops 42 and detects which stage flip-flop changes the value. Then,the controlling section 12 also exercises control as to which failtiming signal is to be selected by the feed signal selecting section 44according to a difference in the number of flip-flops of the detectedflip-flops in each of the feedback system circuits 40.

Moreover, the feedback system variable delay circuit 34 is providedbetween each of the test modules 14 and each of the plurality offlip-flops 42 and delays a fail timing signal and then supplies thedelayed fail timing signals to the plurality of flips-flops 42. Thecontrolling section 12 sequentially changes an amount of delay to becreated by the feedback system variable delay circuit 34, detects anamount of delay, to be created by the feedback system variable delaycircuit 34, which makes timing at which a value of a fail timing signalchanges be substantially the same as timing at which any one of theplurality of flip-flops captures the value of the fail timing signal,and sets an amount of delay to be created by the feedback systemvariable delay circuit 34 at an amount of delay being deviated by a halfof a period of a reference clock from the detected amount of the delay.

In addition, when values stored on each of the plurality of flip-flops(42, 52, and 62) are to be detected, it is preferable that supply of areference clock to be supplied from the reference clock distributingcircuit 80 is stopped and operations of the plurality of flip-flops (42,52, and 62) are stopped. In this embodiment, the clock controllingcircuit 70 supplies a signal to stop the supply of a reference clock tothe reference clock distributing circuit 80.

The clock controlling circuit 70 includes a flip-flop 72, a selectingsection 74, a counter 76, and a logic circuit 78. The flip-flop 72receives timing signals output from the plurality of signal sources 30and supplies the timing signals to the selecting section 74. Theselecting section 74 selects a timing signal output from the signalsources 30 that adjust timing or a phase, out of the plurality of timingsignals received from the flip-flops 72 and supplies the selected timingsignal to the counter 76. The counter 76 starts counting of the numberof reference clocks when a value of the received timing signal changes,and outputs a signal to make the logic circuit 78 stop the supply of thereference clocks when the number of reference clocks reaches a specifiednumber. The logic circuit 78 supplies a signal received from the counter76 to the AND circuit 84 in the reference clock distributing circuit 80and stops the supply of the reference clock to be supplied to the signalsources 30.

The controlling section 12 sets the counter 76 for a specified numberand controls timing at which the supply of reference clocks is stopped.The controlling section 12 controls the counter 76 so that, for example,a flip-flop provided in a center position out of the plurality offlip-flops 42 detects a change of a value of a fail timing signal.

Moreover, each of the plurality of feedback system circuits 40 suppliesa fail timing signal to each of the test modules 14 through thecompiling circuit 46, timing signal distributing circuit 56, and timingsupplying section 60. The compiling circuit 46 receives fail timingsignals output from the plurality of feedback circuits 40, performslogic operations of plural types according to a plurality of fail timingsignals, and supplies a result of each of the logic operations to thetiming signal distributing circuit 55. The timing signal distributingcircuit 56 supplies each of the results from the computations to any oneof or a plurality of timing supplying sections 60. Configurations of thecompiling circuit 46 and timing signal distributing circuit 56 will bedescribed later with reference to FIGS. 8 and 9.

Next, adjustments of a phase of a reference clock to be supplied to eachof the plurality of signal sources 30 in the case where the plurality ofsignal sources 30 is combined will be described by referring to FIG. 3and FIG. 8. When a plurality of signal sources 30 is combined, any oneof the combined signal sources 30 functions as a main signal sourcewhich generates a first timing signal to be used to control timing atwhich the test modules 14 apply test pattern signals to electronicdevices 200, according to a phase of a given timing signal, and suppliesthe generated first timing signal to a predetermined one of or aplurality of pins of each of the test modules 14. Moreover, other signalsources 30 receive a timing signal from the main supplying section andgenerate a second timing signal used to control timing at which the testmodules 14 apply test pattern signals to electronic devices according toa phase of the received reference clock and supply the generated secondtiming signal to one of or a plurality of pins, to which the main signalsource does not feed any signal, out of the test modules 14. In theembodiment, cases where a signal source 30-1 functions as the mainsignal source and a signal source 30-2 functions as the sub signalsource will be described.

Each of the signal sources 30 has the phase adjusting circuit 50 todelay a timing signal received from the main signal source in the casewhere the signal sources 30 function as the sub signal source. In thephase adjusting circuit 50, a timing signal generated by the controlunit 12 is provided through the main signal source 30, and a referenceclock is distributed from the reference clock passing path 234.

Moreover, when the signal source 30 functions as a main signal source,the phase adjusting circuit 50 supplies a timing signal received fromthe control unit 12 to the phase adjusting circuit 50 of the sub signalsource. Each of the signal sources 30, when serving as the main signalsource, has a flip-flop 38 to supply a timing signal to the sub signalsource. The flip-flop 38 supplies the received timing signal to the subsignal source.

Moreover, in a case where the signal sources 30 function as the subsignal source, the phase adjusting circuit 50 receives a timing signalfrom the flip-flop 38 in the main signal source. The phase adjustingcircuit 50 adjusts a phase of the received timing signal and suppliesthe timing signal to the generating circuit 48. The generating circuit48, timing signal distributing circuit 56, and timing supplying section60 generate a timing signal according to the received timing signal andsupply the signal to the test modules 14. The phase adjusting circuit 50in the sub signal source makes timing at which the main signal sourceoutputs a first timing signal be substantially the same as timing atwhich the sub signal source outputs a second timing signal by delayingthe timing signal received from the main signal source.

FIG. 8 shows an example of configurations of the phase adjusting circuit50. The phase adjusting circuit 50 includes a phase adjusting variabledelay circuit 236, a plurality of flip-flops 52 being cascaded, amain/sub selecting section 258, and a timing selecting section 54. Whenthe signal source 30 functions as the sub signal source, the phaseadjusting variable delay circuit 236 receives the timing signal from themain signal source, delays the timing signal for a predetermined periodof time, and supplies it to the main/sub selecting section 258. Themain/sub selecting section 258 selects which one out of a timing signaldelayed by the phase adjusting variable delay circuit 236, a timingsignal received fro, the controlling section 12 is to be supplied to theplurality of flip-flops 52.

The controlling section 12 exercises control as to which timing signalis to be selected by the main/sub section 258 depending on whether thesignal source 30 functions as either of the main signal source or thesub signal source. That is, in a case where the signal source 30functions as the main supplying section, the main/sub selecting section258 selects a timing signal received from the controlling section 12and, in a case where the signal source 30 functions as the sub supplyingsection, the sub supplying section, the main/sub selecting section 258selects a timing signal delayed by the phase adjusting variable delaycircuit 236.

A plurality of flip-flops 52 receives the timing signal selected by themain/sub selecting section 258 and sequentially passes the receivedtiming signal according to the timing signal generated by the timingsignal generating section 10 and distributed by the timing signalpassing path 234. The clock selecting section 54 receives timing signalsoutput by each of the flip-flops 52 and selects any one of the receivedplurality of timing signals and outputs the timing signal as a secondtiming signal through the generating circuit 48, timing signaldistributing circuit 56, and timing supplying section 60.

The controlling section 12 exercises control as to which timing signalis to be selected by the clock selecting section 54 and makes timing atwhich the main signal source outputs a first timing signal besubstantially the same as timing at which the sub signal source outputsa second timing signal. For example, the controlling section 12 makesthe clock selecting section 54 in the main signal source select a timingsignal output by a predetermined one out of the plurality of flip-flops52 to exercise control as to which timing signal is to be selected bythe clock selecting section 54 in the sub signal source is to beselected and makes timing at which the main signal source outputs afirst timing signal be substantially the same as timing at which the subsignal source outputs a second timing signal. In this case, it ispreferable that the controlling section 12 makes the clock selectingsection 54 in the main signal source select a timing signal output byone flip-flop provided in an substantially central position out of theplurality of flip-flops 52 being cascaded.

By such the configuration described above variation, in the phase of thetiming signal given to each signal source 30, when combining a pluralityof signal sources 30, can be adjusted.

Next, an adjustment method of the phase of the timing signal in the mainsignal source and the sub signal source will be explained. (1) First, inthe main signal source and the sub signal source, the clock controlcircuit 70 stops the reference clock to be supplied to the main signalsource and the sub signal source by the reference clock distributingcircuit 80 at a predetermined timing so that the timing signal receivedfrom the control unit 12 can be stored on the plurality of flip-flops52.

(2) At this time, the controlling section 12 supplies the timing signalto the main signal source and obtains that which one out of theplurality of flip-flops 52 of the main signal source was used fordetecting the value change of the timing signal, and whether thevalue-change point of the timing signal received through the phaseadjusting variable delay circuit 236. It is preferable that thecontrolling section 12 includes means for detecting the value of thetiming signal stored on each flip-flip of the plurality of flip-flops52.

Then, the delay amount, at which the timing of changing the timingsignal and the timing of taking the value of timing signal by one of theplurality of flip-flops 52 become substantially equal to each other,will be detected by sequentially changing the delay amount of the phaseadjusting variable delay circuit 236 of the sub signal source. That is,whenever it changes the delay amount of the phase adjusting variabledelay circuit 236, operation of (2) described-above is repeated and thedelay amount to be shifted by the value stored on the plurality offlip-flops 52 is detected. Then, the control unit 12 sets the delayamount of the phase adjusting variable delay circuit 236 of the subsignal source to be a delay amount shifted from the detected delayamount by a half period of the reference signal. Such the control canperform timing adjustment of the reference clock less than or equal toone period.

Next, after setting up the delay amount of the phase adjusting variabledelay circuit 236, as explained for the operation (2), which one out ofthe plurality of flip-flops 52 of the main signal source was used fordetecting the value change of the timing signal was detected, and whichone out of the plurality of flip-flops 52 of the sub signal source wasused for detecting the value-change point of the timing signal receivedthrough the phase adjusting variable delay circuit 236, will beobtained. Then, when there is a difference of the used flip-flop 52 forthe detection of the value-change of the timing signal between the mainsignal source and the sub signal source, the difference will be absorbedby adjusting each flip-flop selected by each timing selecting section54. Such the control can perform timing adjustment of the integralmultiple of the period of the reference clock.

Thus, as described with reference to FIG. 3 to FIG. 8, according to thetest apparatus 100 of the embodiment, it is possible to make adjustmentsto timing at which a plurality of signal sources 30 outputs a timingsignal, to a phase of a timing signal so as to correspond to acharacteristic of each of the test modules 14, and to a phase of areference clock to be supplied to each of the plurality of signalsources 30 configured in combination with one another, thus enabling aplurality of test modules 14 to operate in synchronization with oneanother and, as a result, accurate testing of electronic devices 20 ismade possible.

FIG. 9 shows an example of configurations of the generating circuit 48and timing signal distributing circuit (120-1 to 120-8, hereinaftercollectively referred to as buses 120) and a computing circuit 130.

The plurality of buses 120 is provided in a manner to correspond to aplurality of host computers in the controlling section 12 and each ofthe plurality of buses 120 is controlled by corresponding one of theplurality of host computers. Each of the buses 120 includes a flip-flop122, a distributing circuit 124, and a plurality of flip-flops (126-1 to126-64, hereinafter called collectively flip-flops 126).

The distributing circuit 124 has 64 pieces of output ports and outputs arating signal supplied from the controlling section 12 through theflip-flop 122, according to a reference clock supplied from the phaseadjusting circuit 50 from one of the 64 pieces of the output ports or aplurality of output ports. Moreover, the distributing circuit 124 isprovided with a control signal from the controlling section 12 throughthe flip-flop 122 a to exercise control as to which output port providesa rating signal. The rating signal is a signal being logical H. Bychanging, in turn, the output ports from which the rating signal isprovided by the distributing circuit 124 according to a reference clock,a plurality of timing signals each having a different phase can begenerated and output. For example, by sequentially changing the outputports from which the rating signal is output by the distributing circuit124 from the output port 1 to the output port 64 according to thereference clock, timing signals of 64 kinds, each of which has the samephase resolution as that of the reference clock and having a differentphase, can be generated. In addition, by selecting each of the outputports in a desired period, a timing signal having any period can begenerated. For example, by changing a period in which the output port isselected for each of the buses 120, a plurality of timing signals eachhaving a different period can be generated for each of the buses 120.The period in which the output port is selected can be easily changed bychanging a period of a control signal supplied from the controllingsection 12.

The computing circuit 130 includes a plurality of flip-flops (132-1 to132-64, hereinafter collectively referred to as flip-flops 132), aplurality of OR circuits (134-1 to 134-64, hereinafter collectivelyreferred to as OR circuits 134), and a plurality of flip-flops (136-1 to136-64, hereinafter collectively referred to as flip-flops 136).

The plurality of flip-flops 132, plurality of OR circuits 134, andplurality of flip-flops 136 is provided in a manner to correspond to theoutput ports and receive timing signals to be output from thecorresponding output ports. The OR circuit 134 receives a timing signaloutput from the output port corresponding to the distributing circuit124 in each of the buses 120 and outputs a logical sum of each of thereceived timing signals. The controlling circuit 12 exclusively controlseach of a plurality of distributing circuits 124 so that the pluralityof distributing circuits 124 does not output the timing signalssimultaneously from the same output port. For example, which outputport, out of the output ports 1 to 64 of the distributing circuits 124,is to be controlled by the plurality of host computers, is determined inadvance. Each of the host computers selects, in turn, the output portfrom which a timing signal is output, out of the predetermined outputports in the distributing circuits 124 corresponding to the buses 120.Moreover, each of a plurality of flip-flops 136 supplies each timingsignal to the timing signal distributing circuit 56 in synchronization.

The timing signal distributing circuit 56 includes a plurality ofdistributing sections (140-1 to 140-64, hereinafter collectivelyreferred to as distributors 140) , a plurality of OR circuits (150-1 to150-96, hereinafter collectively referred to as OR circuits 150), and aplurality of flip-flops (152-1 to 152-96, hereinafter collectivelyreferred to as flip-flops 152).

The plurality of distributing sections 140 is provided in a manner tocorrespond to a plurality of output ports in the distributing circuits124 and receives a timing signal output by corresponding output ports.Each of the distributing sections 140 includes a flip-flop 142, aregister section 146, a plurality of AND circuits (148-1 to 148-96,hereinafter collectively referred to as AND circuits 148).

The distributor 144 receives a timing signal through the flip-flop 142and distributes the timing signal to each of the AND circuits 148. Eachof the AND circuits 148 is provided in a manner to correspond to each ofa plurality of timing supplying sections 60 and outputs a logicalproduct of the received timing signal and a signal supplied from theregister section 146.

The register section 146 stores command data indicating which one of thetiming supplying sections 60 is to receive the timing signal. In theembodiment, the register section 146 stores plural bits of command data,each bit corresponding to any one of the plurality of timing supplyingsections 60. To the register section 146 is provided with the commanddata from the controlling section 12. The controlling section 12 makesthe register section 146 save command data containing a bit beinglogically H which corresponds to each of the timing supplying sections60 that has to supply the timing signal.

Moreover, a plurality of OR circuits 150 is provided in a manner tocorrespond to a plurality of AND circuits 148 and, in each of theplurality of distributing sections 140, a logical sum of the timingsignal output by each of the corresponding AND circuits is output. Thecontrolling section 12, in each of the distributing sections 140, makeseach of the register sections 146 save command data so that each of theAND circuits 148 corresponding to each of the same timing supplyingsections 60 does not output timing signals simultaneously. That is,command data being saved in each of the register sections 146 issupplied in a manner in which same bits are not simultaneously H.

A plurality of flip-flops 152 is provided in a manner to correspond to aplurality of OR circuits 150 and synchronizes the timing signal andsupplies the timing signal to corresponding timing supplying sections60.

As described above, according to the generating circuit 48 of theembodiment, it is possible to generate a plurality of timing signalshaving a resolution being equal to that of a period of the referenceclock and whose phase and frequency can set in a predetermined way.Moreover, according to the timing signal distributing circuit 56 of theembodiment, any one of a plurality of timing signals generated by thegenerating circuit 48 can be arbitrarily selected to supply the selectedsignal to each of the timing supplying sections 60.

FIG. 10 shows an example of configurations of the compiling circuit 46and timing signal distributing circuit 56. In the embodiment, the timingsignal distributing circuit 56 has the same configurations as those ofthe timing signal distributing circuit 56 described in FIG. 9.

The compiling circuit 46 has a plurality of compiling sections (160-1 to160-64, hereinafter collectively referred to as compiling sections 160).The plurality of compiling sections 160 is provided in a manner tocorrespond to a plurality of distributing sections 140 in the timingsignal distributing circuit 56. Each of the compiling sections 160includes a register section 162, a plurality of AND circuits (164-1 to164-96, hereinafter collectively referred to as AND circuits 164), an ORcircuit, and a shift register section 168, receives fail timing signalsoutput from a plurality of feedback system circuits 40 and outputs alogical sum of two or more fail timing signals out of a plurality offail timing signals. Moreover, the plurality of distributing sections140 in the timing signal distributing circuit 56 is provided in a mannerto correspond to the plurality of compiling sections 160 and distributesresults from computation by corresponding compiling sections 160 to theplurality of test modules 14.

The plurality of AND circuits 164 is provided in a manner to correspondto the plurality of feedback system circuits 40 and receives fail timingsignals or a like output from the corresponding feedback system circuits40. Then, a logical product of the received fail timing signals andsignals supplied from the register section 162 is output. The OR circuit166 outputs a logical sum of fail timing signals output from theplurality of AND circuits 164.

In the register section 162 is stored command data indicating which failtiming signal, out of the plurality of fail timing signals, produces anOR that is to be output to the OR circuit 166. In the embodiment, theregister section 162 stores a plurality of bits making up the commanddata, each of the plurality of bits corresponding to each of theplurality of feedback system circuits 40. To the register section 162 isprovided with the command data from the controlling section 12. Thecontrolling section 12 makes the register section 162 save command datacontaining a bit being logically H which corresponds to a fail timingsignal to be supplied to the OR circuit 166.

In the embodiment, the controlling section 12 makes the register section162 in each of the compiling sections 160 corresponding to each of thedistributing sections 140 save the same command data as has been storedin the register section 146 in each of the distributors 140. That is,the controlling section 12 makes the timing signal obtained based on thefail timing signal be supplied to all the test modules 14 when any oneof the plurality of test modules 14 to be grouped by the command datasaved in the register section 146 generates a fail timing signal.

Alternatively, each of the distributing sections 140 and compilingsections 160, both corresponding to one another may have a register thatcan be used commonly. For example, each of the compiling sections 160may receive command data from each of corresponding one of thedistributing sections 140. This can reduce the number of registerelements in the test apparatus 100.

FIGS. 11A–C show examples of arrangements on a semiconductor substrate(not shown) in the plurality of compiling sections 160 and thedistributing sections 140. FIGS. 11A–C are diagrams showing examples ofarrangements of each of the compiling sections 160 and each of thedistributing sections 140.

As shown in FIG. 11A, the compiling sections 160 and the correspondingdistributing sections 140 being combined with one another are providedin parallel on the semiconductor substrate. Moreover, the compilingcircuit 46 further has a plurality of flip-flops (172-1 to 172-64,hereinafter collectively referred to as flip-flops 172) provided in amanner to correspond to the plurality of compiling section 160. Theplurality of flip-flops 172 supplies a plurality of fail timing signalsreceived from the feedback system circuits 40, in a synchronous manner,to the plurality of compiling circuits 46.

Moreover, the timing signal distributing circuit 56 further has aplurality of flip-flops (174-1 to 174-64, hereinafter collectivelyreferred to as flip-flops 174) provided in a manner to correspond to theplurality of distributing sections 140. The plurality of flip-flops 174supplies a plurality of fail timing signals received from thecorresponding distributing section 140 to the OR circuit in asynchronous manner. By configuring as above, processing of each of thecompiling sections 160 and the distributing sections 140 can beperformed according to a pipeline processing method in a synchronousmanner.

Also, as shown in FIG. 11B, the compiling section 46 may have aplurality of flip-flops (180-1 to 180-64, hereinafter collectivelyreferred to as flip-flops 180) being provided in a manner to correspondto a plurality of compiling sections 160. The plurality of flip-flops180 is cascaded and supplies fail timing signals, in turn, tocorresponding one of the compiling circuit 46. That is, the fail timingsignals are supplied to each of the compiling circuit 46 with differenttiming.

As shown in FIG. 11B, the OR circuit may be replaced with a plurality ofOR circuits (250-2 to 250-64, hereinafter collectively referred to as ORcircuits 250). The plurality of OR circuits 250 are provided in a mannerto correspond to a plurality of distributing sections (140-2 to 140-64).The plurality of OR circuits are cascaded and each of the OR circuit250-2 outputs a logical sum of fail timing signals output from thedistributing section 140-1 and distributing section 140-2. Moreover,another OR circuit 250 produce a logical sum of the logical sum of theprevious-stage OR circuit 250 and a fail timing signal output from thecorresponding distributing section 140. By configuring as above, a delayin operations of the plurality of compiling circuits 46 and theplurality of timing signal distributing circuits 56 can be reduced.

Also, each of the compiling sections 160 and each of the correspondingdistributing sections 140 are connected in series in a first directionon the semiconductor substrate. Although the register section 162 andregister section 146 are provided in each of the compiling sections 160and in each of the distributing sections 140 in FIG. 10, the registersection 146 is provided outside of the compiling sections 160 anddistributing sections 140 in the example shown in FIG. 11.

The plurality of register sections 146 is provided in a manner tocorrespond to the plurality of compiling sections 160 and the pluralityof distributing sections 140. Plural bits of control signals to exercisecontrol as to which fail timing signal out of the plurality of failtiming signals is used to perform a logic operation in each of thecompiling sections 160 and as to which one of the test modules 14 is toreceive a result from the logic operation in the distributing sections140 is supplied to the corresponding compiling sections 160 anddistributing sections 140. It is preferable that, as shown in FIG. 11B,each of the register sections 146 is connected to each of thecorresponding compiling sections 160 and distributing sections 140 in afirst direction.

Moreover, as shown in FIG. 11C, on the semiconductor substrate, a wiringto connect each of the compiling sections 160 to each of the testmodules 14, that is, at least part of the wiring to connect each of thecompiling sections 160 to the feedback system circuits 40, arepreferably formed along a second direction orthogonal to the firstdirection. Also, on the semiconductor substrate, a wiring to connecteach of the distributing sections 140 to each of the test modules 14,that is, at least part of the wiring to connect each of the distributingsections 140 to the timing supplying circuits 60, is preferably providedalong a second direction orthogonal to the first direction.

By configuring as above, it is possible to prevent wirings requiringmany signal lines from being formed in a deviated state in a horizontalor longitudinal direction on the semiconductor substrate. It isimpossible to fabricate signal lines, extending in a same direction,whose number exceeds a specified number on the semiconductor substrate,however, according to the embodiment, signal lines can be efficientlydistributed both in horizontal and longitudinal directions.

FIG. 12 shows an example of configurations of a plurality of flip-flopsections (186-1 to 186-7, hereinafter collectively referred to asflip-flops 186) and a plurality of selecting sections (188-1 to 188-7,hereinafter collectively referred to as flip-flops 188). Each of theplurality of flip-flops (42, 52, and 62) described with reference toFIG. 3 may have the same configurations as those of each of theflip-flops 186. Each of the timing selecting section 54, feedback signalselecting section 44, and timing signal selecting section 64 describedwith reference to FIG. 3 may have the same configurations as those ofthe plurality of selecting sections 188 to be described by referring toFIG. 12.

The plurality of flip-flops making up the flip-flop sections 186 arecascaded and each of the flip-flop sections 186 has flip-flops beingcascaded. Each of the flip-flop sections 186 receives a reference clockto be input, timing signal, fail timing signal, or a like and each ofthe cascaded flip-flops passes, in turn, the received signal, accordingto the reference clock, to a next-stage flip-flop.

It is preferable that the number of cascaded flip-flops in each of theflip-flop sections 186 is different. For example, each of the flip-flopsections 186-m has flip-flops being cascaded in 2^(m−1) stages. Then,each of the plurality of selecting sections 188 is provided in a mannerto correspond to each of the plurality of flip-flop sections 186,selects either of a signal to be input to corresponding one of theflip-flop sections 186 or a signal output from corresponding one of theflip-flops 186, and supplies the selected signal to a next-stage one ofthe flip-flop sections 186. The controlling section 12 exercises controlon which signal is to be selected by each of the selecting sections 188.By configuring as above, easy control can be exercised so that areference clock, timing signal, fail timing signal, or a like passthrough a desired number of flip-flops.

Each of the feedback system circuits 40, phase adjusting circuit 50, andeach of the timing supplying sections 60 further has a means to read avalue stored on each of the plurality of flip-flops (42, 52, and 62).For example, as shown in FIG. 12, they further may have a plurality ofAND circuits 190. The plurality of AND circuits 190 receives a valuestored on each of the flip-flops and, according to a control signalsupplied from the controlling section 12, supplies the value stored oneach of the flip-flops to the controlling sections 12.

FIG. 13 shows an example of configurations of a writing controllingcircuit to control a plurality of register sections 146 in thecontrolling section 12. The writing controlling circuit includes aplurality of request signal storing sections (212-1 to 212-8,hereinafter collectively referred to as request signal storing sections212), a selector 202, a flip-flop 206, a plurality of flip-flops (208-1to 208-4, hereinafter collectively referred to as flip-flops 208), aplurality of AND circuits 210, a counter 222, an AND 216, and a writingsection 204.

The selector 202 is provided for selecting internal clocks (CLKA–CLKH)of a plurality of host computers installed in the control unit 12,selects one of internal clocks, and is used for a clock for writingcontrol circuits. To the selector 202 is provided with a selectioncontrolling signal from the flip-flop 206 and any one of clocks isselected according to the selection controlling signal.

The flip-flop 206 the flip-flop 206 stores a selection controllingsignal. The selection controlling signal is a signal to make any one ofinternal clocks to be supplied to the selector 202 from the hostcomputer be selected.

The plurality of request signal storing sections 212 is provided in amanner to correspond to a plurality of host computers and stores awriting request signal supplied from corresponding one of the hostcomputers. In the embodiment, the writing request signal is a logical Hsignal indicating which register section 146 writes command data. Eachof the request signal storing sections 212 receives a writing requestsignal through the plurality of flip-flops 208 and the AND circuit 210.Each of the plurality of flip-flops (208-1 to 208-3) removes a so-calledmeta-stable caused by the inconsistency of the clock synchronized with awriting demand signal and the clock for the writing control circuits.Therefore, it is necessary to make the period of the writing demandsignal to be input to be longer than the period of the internal clocks(CLKA–CLKH).

Moreover, the flip-flop 208-4 and the AND circuit 210 are provided tosupply a writing control signal only during one cycle of the selectedinternal clock from a rising edge of a predetermined writing controlsignal to corresponding one of the request signal storing sections 212.

The host selecting section 214 sequentially selects a plurality ofrequest signal storing sections 212, receives data stored in theselected request signal storing section 212 and outputs the data. Thecounter 222 sequentially generates a plurality of host specifyingsignals each indicating one of the plurality of request signal storingsections 212 and supplies the signal to the host selecting section 214,and the host selecting section 214 sequentially selects the requestsignal storing sections 212 specified by the host specifying signalbeing received in turn. The counter 222 sequentially generates binarynumbers having, for example, a number including a zero to a number beingtwice as many as the number of the plurality of request signal storingsections 212 and outputs data obtained by removing the least significantbit from the generated binary numbers as a host specifying signal. Inthe embodiment, the writing controlling circuit has eight request signalstoring sections 212 and the counter 222 generates, in turn, binarynumbers including 0000 to 1111 in ascending order.

Moreover, the host selecting section 214 receives command data (CS_ST1to CS_ST8) to be written in a manner to correspond to a writing requestsignal and register section specifying data (WDT_ST1 to WDT_ST8) used toidentify a register section 146 into which the command data has to bewritten from each of the host computers and supplies the command dataand register section identifying data both being received from one ofthe host computers corresponding to selected one of the request signalstoring sections 212 to the writing section 204.

The writing section 204 receives stored data output from the hostselecting section 214, command data to be written to each of theregister sections 146, and register section identifying data to identifyany one of the register sections 146 to which the command data has to bewritten and, when the received stored data is a writing request signal,writes the command data to each of the register sections 146 to bespecified by the register section identifying data. The writing section204 has a flip-flop 218 and a flip-flop 220. The flip-flop 218 suppliesthe command data to each of the register sections 146 to be identifiedby the register section identifying data. The flip-flop 220 outputs awrite enable signal that allows writing to the register sections 146.

The resetting section 228 resets a writing request signal being storedon the request signal storing section 212 selected by the host selectingsection 214 when the stored data received by the host selecting section214 is a writing request signal. For example, the resetting section 228receives a plurality of pieces of data being stored on the plurality ofrequest signal storing sections 212 and a host identifying signalgenerated by the counter section, and when data being stored on therequest signal storing section 212 corresponding to the host identifyingsignal is a writing request signal, it resets the writing request signalbeing stored in the request signal storing section 212 to be identifiedby the host specifying signal.

The resetting section 228 has a selector 224 and an AND circuit 226. Theselector 224 receives 8-bit signal representing data being stored ineach of the plurality of request signal storing sections 212, and when abit identified by the host identifying signal contained in the receivedsignal is logically H, it supplies a reset signal, in which only thebits concerned are made to be logically H, to the AND circuit 226. TheAND circuit 226 receives the least significant bit making up the binarynumber generated by the counter 222, and when the least significant bitmaking up the binary number generated by the counter 222 is logically H,it supplies a reset signal to each of the request signal storingsections 212 and resets one of the request signal storing sections 212corresponding to a position of a bit providing a logical H thatconstitutes a reset signal.

Moreover, when the least significant bit making up the binary numbergenerated by the counter 222 is logically H, the AND circuit 216supplies the stored data output from the host selecting section 214 tothe flip-flop 220 in the writing section 204.

According to the writing control circuit of the embodiment, it ispossible to efficiently re-write command data stored in each of theregister sections 146. Moreover, since command data can be re-written byany one of the plurality of host computers, the register sections 146can be used commonly by the plurality of host computers. For example,which host computer uses each of the register sections 146 can bedetermined in every test and the number of register elements in the testapparatus can be reduced.

Although the present invention has been described by way of exemplaryembodiments, it should be understood that many changes and substitutionsmay be made by those skilled in the art without departing from the spritand the scope of the present invention which is defined only theappended claims.

INDUSTRIAL APPLICABILITY

According to the present invention, since there is no need of having aregister for every plural host computers, the number of the registers inthe test apparatus can be reduced. Moreover, data can be efficientlywritten on the registers.

1. A writing control circuit for writing command data supplied from aplurality of host computers onto a plurality of register sections,comprising: a plurality of request signal storing sections correspondingto said plurality of host computers for storing writing request signalsfrom said plurality of host computers; a host selecting section tosequentially select said plurality of request signal storing sectionsand to receive and output store data being stored on the selectedrequest signal storing sections; and a writing section to receive thestored data output from said host selecting section, command data to bewritten onto said plurality of register sections, and register sectionspecifying data used to specify said plurality of register sections ontowhich the command data is to be written, and to write command data ontosaid plurality of register sections specified by said register sectionspecifying data when the stored data received is the writing requestsignal.
 2. The writing control circuit as claimed in claim 1, whereinsaid host selecting section receives the command data to be writtencorresponding to the writing request signals, and register sectionspecifying data to specify said register sections onto which the commanddata is to be written, and supplies the command data received from saidplurality of host computers corresponding to said plurality of requestsignal storing sections and the register section specifying data to saidwriting section.
 3. The writing control circuit as claimed in claim 2,further comprising: a resetting section to reset the writing requestsignal being stored on said plurality of request signal storing sectionsselected by said host selecting section when the stored data receivedfrom said host selecting section is the writing request signal.
 4. Thewriting control circuit as claimed in claim 3, further comprising: acounter section to sequentially generate a plurality of host specifyingsignals indicating said plurality of request signal storing sections andto supply the generated signals to said host selecting section, whereinsaid host selecting section sequentially selects said plurality ofrequest signal storing sections to be specified by the host specifyingsignals being received in order.
 5. The writing control circuit asclaimed in claim 4, wherein said resetting section receives the storeddata being stored on said plurality of request signal storing sectionsand the host specifying signals generated by said counter section, andresets the writing request signals being stored on said request signalstoring sections and being specified by the host specifying signals whenthe stored data being stored on said plurality of request signal storingsections are the writing request signals.
 6. The writing control circuitas claimed in claim 5, wherein said counter section sequentiallygenerates binary numbers from zero up to a number twice the number ofsaid plurality of request signal storing sections and supplies dataobtained by removing the least significant signal from the generatedbinary numbers, as the host specifying signal, to said host selectingsection and said resetting section, said writing control circuit furthercomprises an AND circuit that supplies the stored data output from saidhost selecting section to said writing section when the leastsignificant signal generated by said counter section is logically high,and said resetting section resets the writing request signal beingstored on said plurality of request signal storing section to bespecified by the host specifying signal when the stored data received bysaid host selecting section is the writing request signal and the leastsignificant signal of the host specifying signal is logically high.
 7. Atest apparatus for testing electronic devices, comprising: a referenceclock generating section to generate a reference clock; a plurality oftest modules to apply test pattern signals to be used for testing theelectronic devices to the electronic devices according to predeterminedclocks; a plurality of distributing circuits to generate timing signalseach having a different phase according to the reference clock and todistribute the generated timing signals to one of or among saidplurality said test modules; a plurality of register sectionscorresponding to said plurality of distributing circuits for storingcommand data indicating one of or said plurality of test modules amongwhich the corresponding distributing circuits are to distribute thetiming signals; and a writing control circuit to write each of saidcommand data supplied from a plurality of host computers onto any ofsaid plurality of register sections, wherein said writing controlcircuit comprises: a plurality of request signal storing sectionscorresponding to said plurality of host computers for storing writingrequest signals supplied from the corresponding host computers; a hostselecting section to sequentially select said plurality of requestsignal storing sections and to receive and output data being stored onthe selected request signal storing sections; and a writing section toreceive the stored data output by said host selecting section, commanddata to be written onto said plurality of register sections, andregister section specifying data to specify said register sections ontowhich the command data is to be written, and to write the command dataonto said register sections to be specified by the register sectionspecifying data when the stored data received is the writing requestsignal.
 8. The test apparatus as claimed in claim 7, wherein said hostselecting section receives the command data to be written according tothe writing request signal from each of said plurality of hostcomputers, supplies the command data received from said plurality ofhost computers corresponding to said selected request signal storingsection to said writing section.
 9. The test apparatus as claimed inclaim 8, wherein said writing control circuit further comprises aresetting section to reset the writing request signal being stored onsaid request signal storing section selected by said host selectingsections, when the stored data received by said host selecting sectionis the writing request signal.